package thread;
import cputils.CPHMTBService;

/**
 * (C) Copyright 2012 ZWW
 */

/**
 * @author ZWW
 * @date 2014-3-22 下午7:49:41
 * @version V1.0
 */
public class TBServiceThread implements Runnable{
	private String game;
	private String issueNo;
	private boolean onsale;
	private String userName;
	public TBServiceThread(String game,String issueNo,String userName,boolean onsale){
		this.game = game;
		this.issueNo = issueNo;
		this.onsale = onsale;
		this.userName = userName;
	}
	
	@Override
	public void run() {
		//synchronized(CPHMService.class){
		CPHMTBService service = new CPHMTBService();
		service.writeTaobaoHMData(game, issueNo,userName, onsale);
		//}
	}
	
}
